package com.itheima.idea;

public class TwoArray {
    public static void main(String[] args) {
        int[] arr1 = new int[2];
        System.out.println(arr1);
        arr1[0]=11;
        arr1[1]=22;
        System.out.println(arr1[0]);
        System.out.println(arr1[1]);
        System.out.println("------------");
        int[] arr2 = new int[3];
        System.out.println(arr2);
        arr2[0]=33;
        arr2[1]=44;
        arr2[2]=55;
        System.out.println(arr2[0]);
        System.out.println(arr2[1]);
        System.out.println(arr2[2]);
    }
}
